#include <iostream>
using namespace std;
void sumarcaracter(string &cadena,char l);
int main()
{
    string cadena;
    char l;
    cin>>cadena;
    cin>>l;
    sumarcaracter(cadena,l);
    cout<<cadena;
    return 1;



}
 void sumarcaracter(string &cadena,char l)
{
    cadena=cadena+l;
    return;


}
